package com.atzon.model;

import com.atzon.annotation.FieldAnnotation;
import com.atzon.annotation.TableAnnotation;

@TableAnnotation("user_focus")
public class UserFocus {
    /**
     * id
     */
    @FieldAnnotation("id")
    private Integer id;

    /**
     * 用户id
     */
    @FieldAnnotation("user_id")
    private Integer userId;

    /**
     * 用户关注的朋友id
     */
    @FieldAnnotation("user_focus_id")
    private Integer userFocusId;

    public UserFocus() {
    }

    public UserFocus(Integer id, Integer userId, Integer userFocusId) {
        this.id = id;
        this.userId = userId;
        this.userFocusId = userFocusId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getUserFocusId() {
        return userFocusId;
    }

    public void setUserFocusId(Integer userFocusId) {
        this.userFocusId = userFocusId;
    }

    @Override
    public String toString() {
        return "UserFocus{" +
                "id=" + id +
                ", userId=" + userId +
                ", userFocusId=" + userFocusId +
                '}';
    }
}
